export default {
    addarr: function(state, str) {
        state.tearr = str
    },
    hideprogressfun(state) {
        state.showprogress = false;
    },
    showprogressfun(state) {
        state.showprogress = true;
    },
    clearselecthository(state) {
        state.selectHository = []
    },
    setbottomNav(state, val) {
        state.bottomNav = val
    },
    sethostbottomNav(state, val) {
        state.hostbottomNav = val
    },
    setEnertTime(state, val) {
        state.enterTime = val
    },
    setLeaveTime(state, val) {
        state.leaveTime = val
    },
    setconsumables(state, v) {
        state.consumables = v
            //  state.roomdata.consumables[i].num = n
    },
    settenantInfo(state, v) {
        state.tenantInfo = v
    },
    setDuration(state, v) {
        state.Duration = v
    },
    setVerificationCode(state, v) {
        state.VerificationCode = v
    },
    setOrderid(state, v) {
        state.orderid = v
    },
    setActiveIndex(state, v) {
        state.activeIndex = v
    }
}